package com.ygqh.baby.model.wdt;

import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * wdt 创建单据实体
 * @author guohao
 *
 */
public class WdtOrderReqData {

	private Integer OutInFlag;
	private String IF_OrderCode;
	private String WarehouseNO;
	private String Remark;
	private String TheCause;
	private String ProviderNO;
	private String ProviderName;
	private String LinkMan;
	private String LinkManTel;
	private String LinkManAdr;
	private String RegOperatorNO;
	private BigDecimal GoodsTotal;
	private BigDecimal FavourableTotal;
	private BigDecimal OtherFee;
	private Integer COD_Flag;
	private BigDecimal OrderPay;
	private BigDecimal LogisticsPay;
	private String LogisticsCode;
	private String ShopName;
	private String NickName;
	private String BuyerName;
	private String BuyerPostCode;
	private String BuyerTel;
	private String BuyerProvince;
	private String BuyerCity;
	private String BuyerDistrict;
	private String BuyerAdr;
	private String BuyerEmail;
	private Integer NeedInvoice;
	private String InvoiceTitle;
	private String InvoiceContent;
	private Integer ItemCount;
	private String PayTime;
	private String TradeTime;
	private String ChargeID;

	public Map<String, Object> toMap() {
		Map<String, Object> map = new HashMap<String, Object>();
		Field[] fields = this.getClass().getDeclaredFields();
		for (Field field : fields) {
			Object obj;
			try {
				obj = field.get(this);
				if (obj != null) {
					map.put(field.getName(), obj);
				}
			} catch (IllegalArgumentException e) {
				e.printStackTrace();
			} catch (IllegalAccessException e) {
				e.printStackTrace();
			}
		}
		return map;
	}

	private WdtItemList ItemList;

	@JsonProperty("ItemList")
	public WdtItemList getItemList() {
		return ItemList;
	}

	public void setItemList(WdtItemList itemList) {
		ItemList = itemList;
	}

	@JsonProperty("OutInFlag")
	public Integer getOutInFlag() {
		return OutInFlag;
	}

	public void setOutInFlag(Integer outInFlag) {
		OutInFlag = outInFlag;
	}

	@JsonProperty("IF_OrderCode")
	public String getIF_OrderCode() {
		return IF_OrderCode;
	}

	public void setIF_OrderCode(String iF_OrderCode) {
		IF_OrderCode = iF_OrderCode;
	}

	@JsonProperty("WarehouseNO")
	public String getWarehouseNO() {
		return WarehouseNO;
	}

	public void setWarehouseNO(String warehouseNO) {
		WarehouseNO = warehouseNO;
	}

	@JsonProperty("Remark")
	public String getRemark() {
		return Remark;
	}

	public void setRemark(String remark) {
		Remark = remark;
	}

	@JsonProperty("TheCause")
	public String getTheCause() {
		return TheCause;
	}

	public void setTheCause(String theCause) {
		TheCause = theCause;
	}

	@JsonProperty("ProviderNO")
	public String getProviderNO() {
		return ProviderNO;
	}

	public void setProviderNO(String providerNO) {
		ProviderNO = providerNO;
	}

	@JsonProperty("ProviderName")
	public String getProviderName() {
		return ProviderName;
	}

	public void setProviderName(String providerName) {
		ProviderName = providerName;
	}

	@JsonProperty("LinkMan")
	public String getLinkMan() {
		return LinkMan;
	}

	public void setLinkMan(String linkMan) {
		LinkMan = linkMan;
	}

	@JsonProperty("LinkManTel")
	public String getLinkManTel() {
		return LinkManTel;
	}

	public void setLinkManTel(String linkManTel) {
		LinkManTel = linkManTel;
	}

	@JsonProperty("LinkManAdr")
	public String getLinkManAdr() {
		return LinkManAdr;
	}

	public void setLinkManAdr(String linkManAdr) {
		LinkManAdr = linkManAdr;
	}

	@JsonProperty("RegOperatorNO")
	public String getRegOperatorNO() {
		return RegOperatorNO;
	}

	public void setRegOperatorNO(String regOperatorNO) {
		RegOperatorNO = regOperatorNO;
	}

	@JsonProperty("GoodsTotal")
	public BigDecimal getGoodsTotal() {
		return GoodsTotal;
	}

	public void setGoodsTotal(BigDecimal goodsTotal) {
		GoodsTotal = goodsTotal;
	}

	@JsonProperty("FavourableTotal")
	public BigDecimal getFavourableTotal() {
		return FavourableTotal;
	}

	public void setFavourableTotal(BigDecimal favourableTotal) {
		FavourableTotal = favourableTotal;
	}

	@JsonProperty("OtherFee")
	public BigDecimal getOtherFee() {
		return OtherFee;
	}

	public void setOtherFee(BigDecimal otherFee) {
		OtherFee = otherFee;
	}

	@JsonProperty("COD_Flag")
	public Integer getCOD_Flag() {
		return COD_Flag;
	}

	public void setCOD_Flag(Integer cOD_Flag) {
		COD_Flag = cOD_Flag;
	}

	@JsonProperty("OrderPay")
	public BigDecimal getOrderPay() {
		return OrderPay;
	}

	public void setOrderPay(BigDecimal orderPay) {
		OrderPay = orderPay;
	}

	@JsonProperty("LogisticsPay")
	public BigDecimal getLogisticsPay() {
		return LogisticsPay;
	}

	public void setLogisticsPay(BigDecimal logisticsPay) {
		LogisticsPay = logisticsPay;
	}

	@JsonProperty("LogisticsCode")
	public String getLogisticsCode() {
		return LogisticsCode;
	}

	public void setLogisticsCode(String logisticsCode) {
		LogisticsCode = logisticsCode;
	}

	@JsonProperty("ShopName")
	public String getShopName() {
		return ShopName;
	}

	public void setShopName(String shopName) {
		ShopName = shopName;
	}

	@JsonProperty("NickName")
	public String getNickName() {
		return NickName;
	}

	public void setNickName(String nickName) {
		NickName = nickName;
	}

	@JsonProperty("BuyerName")
	public String getBuyerName() {
		return BuyerName;
	}

	public void setBuyerName(String buyerName) {
		BuyerName = buyerName;
	}

	@JsonProperty("BuyerPostCode")
	public String getBuyerPostCode() {
		return BuyerPostCode;
	}

	public void setBuyerPostCode(String buyerPostCode) {
		BuyerPostCode = buyerPostCode;
	}

	@JsonProperty("BuyerTel")
	public String getBuyerTel() {
		return BuyerTel;
	}

	public void setBuyerTel(String buyerTel) {
		BuyerTel = buyerTel;
	}

	@JsonProperty("BuyerProvince")
	public String getBuyerProvince() {
		return BuyerProvince;
	}

	public void setBuyerProvince(String buyerProvince) {
		BuyerProvince = buyerProvince;
	}

	@JsonProperty("BuyerCity")
	public String getBuyerCity() {
		return BuyerCity;
	}

	public void setBuyerCity(String buyerCity) {
		BuyerCity = buyerCity;
	}

	@JsonProperty("BuyerDistrict")
	public String getBuyerDistrict() {
		return BuyerDistrict;
	}

	public void setBuyerDistrict(String buyerDistrict) {
		BuyerDistrict = buyerDistrict;
	}

	@JsonProperty("BuyerAdr")
	public String getBuyerAdr() {
		return BuyerAdr;
	}

	public void setBuyerAdr(String buyerAdr) {
		BuyerAdr = buyerAdr;
	}

	@JsonProperty("BuyerEmail")
	public String getBuyerEmail() {
		return BuyerEmail;
	}

	public void setBuyerEmail(String buyerEmail) {
		BuyerEmail = buyerEmail;
	}

	@JsonProperty("NeedInvoice")
	public Integer getNeedInvoice() {
		return NeedInvoice;
	}

	public void setNeedInvoice(Integer needInvoice) {
		NeedInvoice = needInvoice;
	}

	@JsonProperty("InvoiceTitle")
	public String getInvoiceTitle() {
		return InvoiceTitle;
	}

	public void setInvoiceTitle(String invoiceTitle) {
		InvoiceTitle = invoiceTitle;
	}

	@JsonProperty("InvoiceContent")
	public String getInvoiceContent() {
		return InvoiceContent;
	}

	public void setInvoiceContent(String invoiceContent) {
		InvoiceContent = invoiceContent;
	}

	@JsonProperty("ItemCount")
	public Integer getItemCount() {
		return ItemCount;
	}

	public void setItemCount(Integer itemCount) {
		ItemCount = itemCount;
	}

	@JsonProperty("PayTime")
	public String getPayTime() {
		return PayTime;
	}

	public void setPayTime(String payTime) {
		PayTime = payTime;
	}

	@JsonProperty("TradeTime")
	public String getTradeTime() {
		return TradeTime;
	}

	public void setTradeTime(String tradeTime) {
		TradeTime = tradeTime;
	}

	@JsonProperty("ChargeID")
	public String getChargeID() {
		return ChargeID;
	}

	public void setChargeID(String chargeID) {
		ChargeID = chargeID;
	}

}
